This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
RE: Date item, multiple values of NotesDateRange and NotesDateTime ~Bill Quetfoochekakol 26.Jan.04 08:02 PM a Web browser Domino Designer 6.0.2 CF1All Platforms
Try...
dim fDate as variant ' may contain dateTime or dateRange
...
If dtStart.lsLocalTime = dtEnd.lsLocalTime then ' start and end time are identical
set fDate = dtStart
else
Set dateRange = session.CreateDateRange()
Set dateRange.StartDateTime = dtStart
Set dateRange.EndDateTime = dtEnd
set fDate = dateRange
end if
call doc.replaceItemValue("Ferien_Daten", fDate)
Call uidoc.Refresh